import time

def game_over(func):
    def wrapper(*args, **kwargs):
        start_time = time.time()
        func(*args, **kwargs)
        end_time = time.time()
        print("Game Over")
        print(f"{func.__name__} 运行花费 {end_time - start_time} 秒")
    return wrapper

@game_over
def one_plus_one():
    for _ in range(2 ** 24):
        a=1+1

if __name__ == "__main__":
    one_plus_one()
